package com.qianmi.cloud.vo;

import lombok.Getter;
import lombok.Setter;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.util.Collection;

/**
 * @Description
 * @Date 2022-02-16 10:40
 * @Created by cai chao
 */

public class Principal extends User {

    @Setter
    @Getter
    private String storeId;

    public Principal(String username, String password, Collection<? extends GrantedAuthority> authorities) {
        super(username, password, authorities);
    }
}
